package org.genew.squadra.xml.model.toc;

import java.util.List;

/**
 *
 * @author giona_000
 */
public class Navpoint {
 
    private String id; //Uguale all'id contenuto dal tag <item> del manifest
    private int playOrder; //numero del capitolo
    private String navLaberl;
    /*<ncx:navLabel>
        <ncx:text>この文書について/About this document</ncx:text>
      </ncx:navLabel>
    */
    private String content; //SRC
//    <ncx:content src="AboutThisDocument.xhtml"/> questa src deve essere uguale al href di manifest
    private List<Navpoint> depth; //se depth della classe HEAD è > 1 allora può esserci un autoriferimento del Navpoint

    public Navpoint() {
    }

    public Navpoint(String id, int playOrder, String navLaberl, String content, List<Navpoint> depth) {
        this.id = id;
        this.playOrder = playOrder;
        this.navLaberl = navLaberl;
        this.content = content;
        this.depth = depth;
    }

    /**
     * @return the id
     */
    public String getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * @return the playOrder
     */
    public int getPlayOrder() {
        return playOrder;
    }

    /**
     * @param playOrder the playOrder to set
     */
    public void setPlayOrder(int playOrder) {
        this.playOrder = playOrder;
    }

    /**
     * @return the navLaberl
     */
    public String getNavLaberl() {
        return navLaberl;
    }

    /**
     * @param navLaberl the navLaberl to set
     */
    public void setNavLaberl(String navLaberl) {
        this.navLaberl = navLaberl;
    }

    /**
     * @return the content
     */
    public String getContent() {
        return content;
    }

    /**
     * @param content the content to set
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * @return the depth
     */
    public List<Navpoint> getDepth() {
        return depth;
    }

    /**
     * @param depth the depth to set
     */
    public void setDepth(List<Navpoint> depth) {
        this.depth = depth;
    }
    
    
}
